package top.igotcha.chapter.chapter2;

/**
 * @author Gotcha
 * @date 2021/2/27
 * @describe
 */
public class CreateThread01 {
    public static void main(String[] args) {
        Thread myThread = new MyThread();
        // 启动线程
        myThread.start();
    }
    static class MyThread extends Thread {
        @Override
        public void run() {
            System.out.println("my thread running...");
        }
    }
}
